﻿namespace NExt.grid
{
    public class GroupingView : GroupingView<GridViewEvents>
    {
    }

    public abstract class GroupingView<TEvents> : GridView<TEvents>
        where TEvents : GridViewEvents, new()
    {
        public string emptyGroupText { get; set; }
        public bool? enableGrouping { get; set; }
        public bool? enableGroupingMenu { get; set; }
        public bool? enableNoGroups { get; set; }
        public string groupByText { get; set; }
        public string groupMode { get; set; }
        public string groupTextTpl { get; set; }
        public bool? hideGroupedColumn { get; set; }
        public bool? ignoreAdd { get; set; }
        public bool? showGroupName { get; set; }
        public string showGroupsText { get; set; }
        public bool? startCollapsed { get; set; }
    }

    public class GroupingViewEvents : GridViewEvents
    {
    }
}
